#ifdef _WIN32
#include <windows.h>		//Under win32, opengl header need windows.h
#endif
#include <GL/gl.h>
#include <GL/glext.h> // Your local header file

struct DDS_IMAGE_INFORMATION
{
    GLsizei  iWidth;
    GLsizei  iHeight;
    GLint    iComponents;		//3,4
    GLenum   iFormat;			//RGBA, DXT1, DXT3, DXT5
    int      iNumMipMaps;
	GLuint		uiType;			//2D, 3D, CubeMap
};

//Initializing funciton of loading compressed textures
GLvoid	DDS_Init(PFNGLCOMPRESSEDTEXIMAGE2DARBPROC fnCompressedLoad);
GLint	DDS_LoadFile(const GLchar *szFileName, GLuint &uiTexture, DDS_IMAGE_INFORMATION *pImgInfo);
GLint	DDS_Load(const GLchar *pData, GLuint &uiTexture, DDS_IMAGE_INFORMATION *pImgInfo);
GLint	DDS_GetLastError();
GLchar *DDS_GerErrorDescription();
GLchar *DDS_GetErrorName();
GLvoid	DDS_DeInit();